cmake_minimum_required(VERSION 3.16)

project(HELLO)

add_subdirectory(src bin)

message(STATUS "-----> This is BINARY dir " ${HELLO_BINARY_DIR})
message(STATUS "-----> This is SOURCE dir " ${HELLO_SOURCE_DIR})
message(STATUS "-----> CMAKE_INSTALL_PREFIX " ${CMAKE_INSTALL_PREFIX})
# set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/install)

install(FILES COPYRIGHT README DESTINATION share/doc/cmake/t2)

install(PROGRAMS runhello.sh DESTINATION bin)

install(DIRECTORY doc/ DESTINATION share/doc/cmake/t2)
